package DataGo;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Date06 {
    public static void main(String[] args) {
        //jdk8中now是静态的显示当前时间，of指定当前对象
        LocalDateTime now= LocalDateTime.now();
        System.out.println(now);
        LocalDateTime localDateTime=LocalDateTime.of(2022,11,12,12,12,12);
        System.out.println(localDateTime);
    }
}
